package teach.aistar.service;



import org.apache.ibatis.annotations.Param;
import teach.aistar.model.entity.User;

import java.util.List;

public interface IUserService {
    List<User> findAll();

    User getById(Integer uid);

    User login(String username);

    User getByUsername(String uname);

    void add(User user);

    int update(String uname, String pwd,Integer uId);

}
